import { service } from './config'

// 登录
export const API_Login = form => {
    return service({
        url: `/user/login`,
        method: 'get',
        params: form
    });
}

// 注册
export const API_Register = form => {
    return service({
        url: `/user/register`,
        method: 'get',
        params: form
    });
}
// 注销
export const API_Withdraw = form => {
    return service({
        url: `/user/delete`,
        method: 'get',
        params: form
    });
}